Optimal. Leaf size=331 \[ -\frac{\left (3 \sqrt{a} B-5 A \sqrt{c}\right ) \log \left (-\sqrt{2} \sqrt [4]{a} \sqrt [4]{c} \sqrt{x}+\sqrt{a}+\sqrt{c} x\right )}{64 \sqrt{2} a^{9/4} c^{5/4}}+\frac{\left (3 \sqrt{a} B-5 A \sqrt{c}\right ) \log \left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{c} \sqrt{x}+\sqrt{a}+\sqrt{c} x\right )}{64 \sqrt{2} a^{9/4} c^{5/4}}-\frac{\left (3 \sqrt{a} B+5 A \sqrt{c}\right ) \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{a}}\right )}{32 \sqrt{2} a^{9/4} c^{5/4}}+\frac{\left (3 \sqrt{a} B+5 A \sqrt{c}\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{a}}+1\right )}{32 \sqrt{2} a^{9/4} c^{5/4}}+\frac{\sqrt{x} (a B+5 A c x)}{16 a^2 c \left (a+c x^2\right )}-\frac{\sqrt{x} (a B-A c x)}{4 a c \left (a+c x^2\right )^2} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.607838, antiderivative size = 331, normalized size of antiderivative = 1., number of steps used = 12, number of rules used = 9, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.45 \[ -\frac{\left (3 \sqrt{a} B-5 A \sqrt{c}\right ) \log \left (-\sqrt{2} \sqrt [4]{a} \sqrt [4]{c} \sqrt{x}+\sqrt{a}+\sqrt{c} x\right )}{64 \sqrt{2} a^{9/4} c^{5/4}}+\frac{\left (3 \sqrt{a} B-5 A \sqrt{c}\right ) \log \left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{c} \sqrt{x}+\sqrt{a}+\sqrt{c} x\right )}{64 \sqrt{2} a^{9/4} c^{5/4}}-\frac{\left (3 \sqrt{a} B+5 A \sqrt{c}\right ) \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{a}}\right )}{32 \sqrt{2} a^{9/4} c^{5/4}}+\frac{\left (3 \sqrt{a} B+5 A \sqrt{c}\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{a}}+1\right )}{32 \sqrt{2} a^{9/4} c^{5/4}}+\frac{\sqrt{x} (a B+5 A c x)}{16 a^2 c \left (a+c x^2\right )}-\frac{\sqrt{x} (a B-A c x)}{4 a c \left (a+c x^2\right )^2} \]
Antiderivative was successfully verified.
[In] Int[(Sqrt[x]*(A + B*x))/(a + c*x^2)^3,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 116.718, size = 313, normalized size = 0.95 \[ - \frac{\sqrt{x} \left (- A c x + B a\right )}{4 a c \left (a + c x^{2}\right )^{2}} + \frac{\sqrt{x} \left (\frac{5 A c x}{2} + \frac{B a}{2}\right )}{8 a^{2} c \left (a + c x^{2}\right )} + \frac{\sqrt{2} \left (5 A \sqrt{c} - 3 B \sqrt{a}\right ) \log{\left (- \sqrt{2} \sqrt [4]{a} c^{\frac{3}{4}} \sqrt{x} + \sqrt{a} \sqrt{c} + c x \right )}}{128 a^{\frac{9}{4}} c^{\frac{5}{4}}} - \frac{\sqrt{2} \left (5 A \sqrt{c} - 3 B \sqrt{a}\right ) \log{\left (\sqrt{2} \sqrt [4]{a} c^{\frac{3}{4}} \sqrt{x} + \sqrt{a} \sqrt{c} + c x \right )}}{128 a^{\frac{9}{4}} c^{\frac{5}{4}}} - \frac{\sqrt{2} \left (5 A \sqrt{c} + 3 B \sqrt{a}\right ) \operatorname{atan}{\left (1 - \frac{\sqrt{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{a}} \right )}}{64 a^{\frac{9}{4}} c^{\frac{5}{4}}} + \frac{\sqrt{2} \left (5 A \sqrt{c} + 3 B \sqrt{a}\right ) \operatorname{atan}{\left (1 + \frac{\sqrt{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{a}} \right )}}{64 a^{\frac{9}{4}} c^{\frac{5}{4}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**(1/2)*(B*x+A)/(c*x**2+a)**3,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.596941, size = 315, normalized size = 0.95 \[ \frac{\sqrt{2} \left (5 a^{3/4} A c-3 a^{5/4} B \sqrt{c}\right ) \log \left (-\sqrt{2} \sqrt [4]{a} \sqrt [4]{c} \sqrt{x}+\sqrt{a}+\sqrt{c} x\right )+\sqrt{2} \left (3 a^{5/4} B \sqrt{c}-5 a^{3/4} A c\right ) \log \left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{c} \sqrt{x}+\sqrt{a}+\sqrt{c} x\right )-2 \sqrt{2} \left (5 a^{3/4} A c+3 a^{5/4} B \sqrt{c}\right ) \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{a}}\right )+2 \sqrt{2} \left (5 a^{3/4} A c+3 a^{5/4} B \sqrt{c}\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{a}}+1\right )+\frac{32 a^2 c^{3/4} \sqrt{x} (A c x-a B)}{\left (a+c x^2\right )^2}+\frac{8 a c^{3/4} \sqrt{x} (a B+5 A c x)}{a+c x^2}}{128 a^3 c^{7/4}} \]
Antiderivative was successfully verified.
[In] Integrate[(Sqrt[x]*(A + B*x))/(a + c*x^2)^3,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.022, size = 335, normalized size = 1. \[ 2\,{\frac{1}{ \left ( c{x}^{2}+a \right ) ^{2}} \left ({\frac{5\,Ac{x}^{7/2}}{32\,{a}^{2}}}+1/32\,{\frac{B{x}^{5/2}}{a}}+{\frac{9\,A{x}^{3/2}}{32\,a}}-{\frac{3\,B\sqrt{x}}{32\,c}} \right ) }+{\frac{3\,B\sqrt{2}}{128\,{a}^{2}c}\sqrt [4]{{\frac{a}{c}}}\ln \left ({1 \left ( x+\sqrt [4]{{\frac{a}{c}}}\sqrt{x}\sqrt{2}+\sqrt{{\frac{a}{c}}} \right ) \left ( x-\sqrt [4]{{\frac{a}{c}}}\sqrt{x}\sqrt{2}+\sqrt{{\frac{a}{c}}} \right ) ^{-1}} \right ) }+{\frac{3\,B\sqrt{2}}{64\,{a}^{2}c}\sqrt [4]{{\frac{a}{c}}}\arctan \left ({\sqrt{2}\sqrt{x}{\frac{1}{\sqrt [4]{{\frac{a}{c}}}}}}+1 \right ) }+{\frac{3\,B\sqrt{2}}{64\,{a}^{2}c}\sqrt [4]{{\frac{a}{c}}}\arctan \left ({\sqrt{2}\sqrt{x}{\frac{1}{\sqrt [4]{{\frac{a}{c}}}}}}-1 \right ) }+{\frac{5\,A\sqrt{2}}{128\,{a}^{2}c}\ln \left ({1 \left ( x-\sqrt [4]{{\frac{a}{c}}}\sqrt{x}\sqrt{2}+\sqrt{{\frac{a}{c}}} \right ) \left ( x+\sqrt [4]{{\frac{a}{c}}}\sqrt{x}\sqrt{2}+\sqrt{{\frac{a}{c}}} \right ) ^{-1}} \right ){\frac{1}{\sqrt [4]{{\frac{a}{c}}}}}}+{\frac{5\,A\sqrt{2}}{64\,{a}^{2}c}\arctan \left ({\sqrt{2}\sqrt{x}{\frac{1}{\sqrt [4]{{\frac{a}{c}}}}}}+1 \right ){\frac{1}{\sqrt [4]{{\frac{a}{c}}}}}}+{\frac{5\,A\sqrt{2}}{64\,{a}^{2}c}\arctan \left ({\sqrt{2}\sqrt{x}{\frac{1}{\sqrt [4]{{\frac{a}{c}}}}}}-1 \right ){\frac{1}{\sqrt [4]{{\frac{a}{c}}}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^(1/2)*(B*x+A)/(c*x^2+a)^3,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*sqrt(x)/(c*x^2 + a)^3,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.306919, size = 1380, normalized size = 4.17 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*sqrt(x)/(c*x^2 + a)^3,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**(1/2)*(B*x+A)/(c*x**2+a)**3,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.29725, size = 414, normalized size = 1.25 \[ \frac{\sqrt{2}{\left (3 \, \left (a c^{3}\right )^{\frac{1}{4}} B a c + 5 \, \left (a c^{3}\right )^{\frac{3}{4}} A\right )} \arctan \left (-\frac{\sqrt{2}{\left (\sqrt{2} \left (\frac{a}{c}\right )^{\frac{1}{4}} - 2 \, \sqrt{x}\right )}}{2 \, \left (\frac{a}{c}\right )^{\frac{1}{4}}}\right )}{64 \, a^{3} c^{3}} - \frac{\sqrt{2}{\left (3 \, \left (a c^{3}\right )^{\frac{1}{4}} B a c - 5 \, \left (a c^{3}\right )^{\frac{3}{4}} A\right )}{\rm ln}\left (-\sqrt{2} \sqrt{x} \left (\frac{a}{c}\right )^{\frac{1}{4}} + x + \sqrt{\frac{a}{c}}\right )}{128 \, a^{3} c^{3}} + \frac{5 \, A c^{2} x^{\frac{7}{2}} + B a c x^{\frac{5}{2}} + 9 \, A a c x^{\frac{3}{2}} - 3 \, B a^{2} \sqrt{x}}{16 \,{\left (c x^{2} + a\right )}^{2} a^{2} c} + \frac{\sqrt{2}{\left (3 \, \left (a c^{3}\right )^{\frac{1}{4}} B a c^{3} + 5 \, \left (a c^{3}\right )^{\frac{3}{4}} A c^{2}\right )} \arctan \left (\frac{\sqrt{2}{\left (\sqrt{2} \left (\frac{a}{c}\right )^{\frac{1}{4}} + 2 \, \sqrt{x}\right )}}{2 \, \left (\frac{a}{c}\right )^{\frac{1}{4}}}\right )}{64 \, a^{3} c^{5}} + \frac{\sqrt{2}{\left (3 \, \left (a c^{3}\right )^{\frac{1}{4}} B a c^{3} - 5 \, \left (a c^{3}\right )^{\frac{3}{4}} A c^{2}\right )}{\rm ln}\left (\sqrt{2} \sqrt{x} \left (\frac{a}{c}\right )^{\frac{1}{4}} + x + \sqrt{\frac{a}{c}}\right )}{128 \, a^{3} c^{5}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*sqrt(x)/(c*x^2 + a)^3,x, algorithm="giac")
[Out]